﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserMasterForm.aspx.cs"
    Inherits="OrderManage.WebApp.SystemManage.UserMasterForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>

    <script src="../lib/boot.js" type="text/javascript"></script>

    <style type="text/css">
        .icon-boy, .icon-female
        {
            width: 16px;
            height: 16px;
            overflow: hidden;
            margin: auto;
            background: url(../lib/images/user.gif) no-repeat;
            text-align: center;
            display: block;
        }
        .icon-female
        {
            background: url(../lib/images/user_female.gif) no-repeat;
        }
    </style>
</head>
<body>
    <div class="mini-toolbar" style="padding: 2px; border-bottom: 0;">
        <table>
            <tr>
                <td align="right">
                    用户名：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="UserName" class="mini-textbox" emptytext="请输入用户名" style="width: 150px;"
                        onenter="onKeyEnter" />
                </td>
                <td align="right">
                    姓名：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="FullName" class="mini-textbox" emptytext="请输入姓名" style="width: 150px;"
                        onenter="onKeyEnter" />
                </td>
                <td style="width: 100px">
                    <a class="mini-button" iconcls="icon-search" onclick="search()">查 询</a>
                </td>
            </tr>
            <tr>
                <td align="right">
                    角色：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="Role" shownullitem="true" allowinput="true" style="width: 150px;" class="mini-combobox"
                        textfield="text" valuefield="id" data="RoleData" />
                </td>
                <td align="right">
                    性别：
                </td>
                <td style="width: 150px;" align="left">
                    <input id="Gender" shownullitem="true" allowinput="true" style="width: 150px;" class="mini-combobox"
                        textfield="text" valuefield="id" data="GenderData" />
                </td>
                <td style="width: 100px">
                    <a class="mini-button" iconcls="icon-reset" onclick="reset()">重 置</a>
                </td>
            </tr>
        </table>
    </div>
    <div class="mini-toolbar" style="padding: 2px; border-bottom: 0;">
        <table style="width: 100%;">
            <tr>
                <td style="width: 100%;">
                    <a class="mini-button" id="add" iconcls="icon-add" onclick="add();" plain="true">添加</a>
                    <a class="mini-button" id="edit" iconcls="icon-edit" onclick="edit()" plain="true">编辑</a>
                    <a class="mini-button" id="remove" iconcls="icon-remove" onclick="remove()" plain="true">
                        删除</a> <span class="separator"></span><a class="mini-button" id="modifypwd" iconcls="icon-modifypwd"
                            onclick="modifypwd()" plain="true">修改密码</a> <span class="separator"></span>
                    <a class="mini-button" onclick="close()" iconcls="icon-close" plain="true">关闭</a>
                </td>
            </tr>
        </table>
    </div>
    <div class="mini-fit">
        <div id="grid1" class="mini-datagrid" style="width: 100%; height: 100%;" idfield="UserId"
            sizelist="[10,20,50,100]" pagesize="20">
            <div property="columns">
                <div type="indexcolumn" width="20">
                </div>
                <div field="UserName" width="100" headeralign="center" allowsort="false">
                    用户名
                </div>
                <div field="Password" width="80" headeralign="center" allowsort="false">
                    密码
                </div>
                <div field="FullName" width="80" headeralign="center" allowsort="false">
                    姓名
                </div>
                <div field="Gender" width="40" headeralign="center" allowsort="false">
                    性别
                </div>
                <div field="Role" width="60" headeralign="center" allowsort="false" renderer="onRoleRenderer">
                    角色
                </div>
                <div field="IDNO" width="140" headeralign="center" allowsort="false">
                    证件号码
                </div>
                <div field="PhoneNo" width="120" headeralign="center" allowsort="false">
                    联系电话号码
                </div>
                <div field="Email" width="120" headeralign="center" allowsort="false">
                    联系邮箱地址
                </div>
                <div field="QQ" width="110" headeralign="center" allowsort="false">
                    联系QQ
                </div>
                <div field="InputTime" width="130" headeralign="center" allowsort="true" dateformat="yyyy-MM-dd HH:mm:ss">
                    添加时间
                </div>
            </div>
        </div>
    </div>
</body>

<script src="scripts/UserMasterForm.js" type="text/javascript"></script>

</html>
